package dao;

import java.util.List;

import domain.Reply;


/**
 * 提问或讨论的回复处理Dao
 * 
 * May 19, 2009
 *
 * @author Fabian
 *
 */
public interface ReplyMagDao {
	/**
	 * 获取一页的Reply
	 */
	public List<Reply> getPageReply(int start, int limit, int topic_id);
	/**
	 * 获取某个主题的所有的Reply记录数
	 */
	public int getReplyTotalCount(int topic_id);
	/**
	 * 删除传入的id表示的Reply
	 */
	public boolean delReply(int id);
	/**
	 * 添加Reply
	 */
	public boolean addReply(Reply r);
}
